// 
// Decompiled by Procyon v0.5.36
// 

package com.akamai.botman;

public final class aj
{
    public static java.lang.String a(final java.lang.String s) {
        final int length = s.length();
        final java.lang.StringBuilder sb = new java.lang.StringBuilder();
        int i = 0;
        while (i < length) {
            final char char1 = s.charAt(i++);
            int n = 1;
            while (i < length && char1 == s.charAt(i)) {
                ++n;
                ++i;
            }
            if (n > 1) {
                sb.append(java.lang.String.valueOf(n));
            }
            sb.append(char1);
        }
        return sb.toString();
    }
}
